from django.shortcuts import render

# Create your views here.
from rest_framework.generics import CreateAPIView
from .serializers import UserCreateSerializer


# Create your views here.

class UserCreateView(CreateAPIView):
    """
    用户注册
    POST /users/

    用户注册我们需要对数据进行校验,同时需要数据入库
    """
    serializer_class = UserCreateSerializer







